package com.runda.system.service;


import java.util.List;

import com.bbjob.model.SysOrganization;
import com.bbjob.util.service.IService;

/**
 * 组织管理
 * @author DongYang
 *
 */
public interface OrganService extends IService<SysOrganization>{
	
	public int saveOrgan(SysOrganization organ);
	
	public int editOrgan(SysOrganization organ);
	
	public int deleteOrgan(Integer id);
	
	public List<SysOrganization> selectTreeByPid(Integer pid);
	
	public List<SysOrganization> getMotherTree();

	public List<SysOrganization> getOrgansByPid(SysOrganization organ);

	public SysOrganization getOrganInfo(String uniquecode);
	
}
